﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BZZ_domainTime.aspx.cs" Inherits="Web.myadmin.domainTime" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>域名提醒 - 后台管理 </title>
<link href="/css/bkcss.css" rel="stylesheet" type="text/css" />
<script src="/js/function.js" type="text/javascript"></script>
</head>
<body>
<div id="DivPromptMessage" runat="server">
    <asp:Literal ID="litPromptMessage" runat="server"></asp:Literal>
</div>
    <form id="form1" runat="server">
    
<div id="divQuery" runat="server">
     <table cellpadding="2" cellspacing="0" class="tblQuery">
	    <tr> 
		    <td class="tdQuery">
             <%--id：<asp:TextBox ID="txtQryId" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             网站名称：<asp:TextBox ID="txtQrySiteName" runat="server"  CssClass="clsInput" ></asp:TextBox>
             域名：<asp:TextBox ID="txtQryDomain" runat="server"  CssClass="clsInput" ></asp:TextBox>
             <%--注册时间：<asp:TextBox ID="txtQryRegDate" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--到期时间：<asp:TextBox ID="txtQryEndDate" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--备案号：<asp:TextBox ID="txtQryIcpno" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--续费单位：<asp:TextBox ID="txtQryFeeUnit" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--备注：<asp:TextBox ID="txtQryMemo" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--扩展1：<asp:TextBox ID="txtQryExt1" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--扩展2：<asp:TextBox ID="txtQryExt2" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <asp:Button ID="btnQuery"  CssClass="btnQuery" runat="server" Text=" 查询 "  OnClick="btnQuery_Click" />
		     </td>
	    </tr>
    </table>
</div>

<div id="divList" runat="server">
     <asp:Repeater runat="server" ID="rptInfoList">
        <HeaderTemplate>
           <table cellspacing="0" cellpadding="2" class="tblList">
             <tr> 
	              <td class="tdListTop">编号 </td>
	              <td class="tdListTop">网站名称</td>
	              <td class="tdListTop">域名</td>
	              <td class="tdListTop">注册时间</td>
	              <td class="tdListTop">到期时间</td>
	              <td class="tdListTop">到期天数</td>
	              <%--<td class="tdListTop">备案号</td>--%>
	              <%--<td class="tdListTop">续费单位</td>--%>
	              <%--<td class="tdListTop">备注</td>--%>
	              <%--<td class="tdListTop">扩展1</td>--%>
	              <%--<td class="tdListTop">扩展2</td>--%>
	              <td class="tdListTop">操作</td>
             </tr>
          </HeaderTemplate>
          <ItemTemplate>
               <tr onmouseover="this.bgColor='#8CBDE7'" onmouseout="this.bgColor='#ffffff'"> 
	              <td class="tdList"><%# Eval("id") %></td>
	              <td class="tdList"><a href="http://www.<%# Eval("domain")%>" target="_blank"><%# Eval("siteName")%></a></td>
	              <td class="tdList"><%# Eval("domain")%></td>
	              <td class="tdList"><%# Convert.ToDateTime(Eval("regDate")).ToString("yyyy-MM-dd")%></td>
	              <td  class="tdList"><%# Convert.ToDateTime(Eval("endDate")).ToString("yyyy-MM-dd")%></td>
	              <td  class="tdList"><a href="http://whois.chinaz.com/<%# Eval("domain")%>" class="linkView" onclick="return openWin(this.href);"><%# getEndDate(Eval("endDate"))%></a></td>
	              <%--<td  class="tdList"><%# Eval("icpno")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("feeUnit")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("memo")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("ext1")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("ext2")%></td>--%>
	              <td class="tdList">	
	                  <a href="?cmd=view&id=<%# Eval("id") %>" class="linkView" onclick="return openWin(this.href);">查看</a>&nbsp;
	                   <a href="?cmd=edit&id=<%# Eval("id") %>" class="linkEdit" onclick="return openWin(this.href);">修改</a>&nbsp;
	                   <a href="?cmd=delete&id=<%# Eval("id") %>" onclick="return confirm('确定是要删除该记录吗？')" class="linkDelete">删除</a>
	              </td>
                </tr>
        </ItemTemplate>
        <FooterTemplate>
           </table>
        </FooterTemplate>
    </asp:Repeater>
    <div class="divPager">
         <asp:Literal ID="litPager" runat="server" ></asp:Literal>
    </div>
        
</div>

<div runat="server" id="divForm">
<table cellpadding="2" cellspacing="0" class="tblForm">
	<tr> 
		<td colspan="2" class="tdFormHead">  <asp:Label ID="lblFormTitle" runat="server" Text="修改"></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">网站名称：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtSiteName" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">域名：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtDomain" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">注册时间：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtRegDate" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">到期时间：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtEndDate" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">备案号：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtIcpno" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">续费单位：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtFeeUnit" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">备注：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtMemo" runat="server"  CssClass="clsInput" Height="100px" TextMode="MultiLine" Width="300px"  ></asp:TextBox></td>
	</tr>
	<tr> 
		<td colspan="2" align="center" style="font-size: 30px;">
         <asp:Button ID="btnSumit"  CssClass="btnSumit" runat="server" Text=" 发布 "  OnClick="btnSumit_Click" />
		<input class="btnCancel" type="reset" value=" 取消 " />
		<asp:TextBox ID="txtId" runat="server" style="display:none" Text="0"></asp:TextBox></td>
	</tr>
</table>
</div>

<div runat="server" id="divView">
<table cellpadding="2" cellspacing="0" class="tblView">
	<tr> 
		<td colspan="2" class="tdViewHead">  <asp:Label ID="lblViewTitle" runat="server" Text="查看"></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">网站名称：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblSiteName" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">域名：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblDomain" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">注册时间：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblRegDate" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">到期时间：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblEndDate" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">备案号：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblIcpno" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">续费单位：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblFeeUnit" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">备注：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblMemo" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">扩展1：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblExt1" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">扩展2：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblExt2" runat="server" ></asp:Label></td>
	</tr>
</table>
</div>
    
    </form>
</body>
</html>

